crypto/tls.cipherSuite.cipher (field)
6 uses
crypto/tls (current package)
cipher_suites.go#L146: cipher func(key, iv []byte, isRead bool) any
handshake_client.go#L866: if hs.suite.cipher != nil {
handshake_client.go#L867: clientCipher = hs.suite.cipher(clientKey, clientIV, false /* not for reading */)
handshake_client.go#L869: serverCipher = hs.suite.cipher(serverKey, serverIV, true /* for reading */)
handshake_server.go#L818: clientCipher = hs.suite.cipher(clientKey, clientIV, true /* for reading */)
handshake_server.go#L820: serverCipher = hs.suite.cipher(serverKey, serverIV, false /* not for reading */)